package br.com.membros.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.membros.database.entities.AgendaEntity;
import br.com.membros.database.interfaces.IAgendaDao;
import br.com.membros.database.utils.GenericService;
import br.com.membros.database.utils.interfaces.IGenericDao;
import br.com.membros.utils.database.beans.AgendaBean;
import br.com.membros.utils.database.interfaces.IAgendaService;

@Named
public class AgendaService extends GenericService<AgendaBean, AgendaEntity, Long> implements IAgendaService {

	@Inject
	private IAgendaDao dao;
	
	@Override
	protected IGenericDao<AgendaEntity, Long> getConcreteDao() {
		return dao;
	}

}
